<? include('header.php'); ?>

<h2>Add new post</h2>

<form method="post" action="<?=base_url()?>/add">
Title <br/>
<input type="text" name="title" value="" /><br/>
Date <br/>
<input type="text" name="date" value="" /><br/>
Text<br/>
<textarea name="text"></textarea><br/>
<input type="submit" value="Edit" />
</form>

<? include('footer.php'); ?>
